package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.PmsPurchaseRequisitions;

/**
 * 采购申请单主Service接口
 *
 * @author ruoyi
 * @date 2025-07-08
 */
public interface IPmsPurchaseRequisitionsService
{
    /**
     * 查询采购申请单主
     *
     * @param prId 采购申请单主主键
     * @return 采购申请单主
     */
    public PmsPurchaseRequisitions selectPmsPurchaseRequisitionsByPrId(Long prId);

    /**
     * 查询采购申请单主列表
     *
     * @param pmsPurchaseRequisitions 采购申请单主
     * @return 采购申请单主集合
     */
    public TableDataInfo<PmsPurchaseRequisitions> selectPmsPurchaseRequisitionsList(PmsPurchaseRequisitions pmsPurchaseRequisitions, PageQuery pageQuery);

    /**
     * 新增采购申请单主
     *
     * @param pmsPurchaseRequisitions 采购申请单主
     * @return 结果
     */
    public int insertPmsPurchaseRequisitions(PmsPurchaseRequisitions pmsPurchaseRequisitions);


    /**
     * 修改采购申请单主
     *
     * @param pmsPurchaseRequisitions 采购申请单主
     * @return 结果
     */
    public int updatePmsPurchaseRequisitions(PmsPurchaseRequisitions pmsPurchaseRequisitions);

    /**
     * 批量删除采购申请单主
     *
     * @param prIds 需要删除的采购申请单主主键集合
     * @return 结果
     */
    public int deletePmsPurchaseRequisitionsByPrIds(Long[] prIds);

    /**
     * 删除采购申请单主信息
     *
     * @param prId 采购申请单主主键
     * @return 结果
     */
    public int deletePmsPurchaseRequisitionsByPrId(Long prId);

    public PmsPurchaseRequisitions getPurchaseRequisitionsData();
}
